package server.factory;

import java.util.Date;

import fr.appliClient.server.entity.Consumption;

public class ConsumptionMockFactory extends MockFactory<Consumption> {

	public ConsumptionMockFactory() {

		super(Consumption.class);
	}

	@Override
	protected void populate(int seed, Consumption mock) {

		mock.setCost(seed);
		mock.setDate(new Date(seed));
		mock.setMileage(seed);
		mock.setQuantity(seed);
	}

}
